package com.ruoyi.temu.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * sku对象 temu_sku
 * 
 * @author ruoyi
 * @date 2023-09-03
 */
public class TemuSku extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** sku_id */
    private Long skuId;

    /** 商家 */
    @Excel(name = "商家")
    private Long supplierId;

    /** spu_id */
    @Excel(name = "spu_id")
    private Long spuId;

    /** skc_id */
    @Excel(name = "skc_id")
    private Long skcId;

    /** 产品属性列表 */
    @Excel(name = "产品属性列表")
    private String productPropertyList;

    /** 商家价格 */
    @Excel(name = "商家价格")
    private String supplierPrice;

    /** 货号 */
    @Excel(name = "货号")
    private String extCode;

    /** 长(mm) */
    @Excel(name = "长(mm)")
    private String len;

    /** 宽(mm) */
    @Excel(name = "宽(mm)")
    private Long width;

    /** 高(mm) */
    @Excel(name = "高(mm)")
    private Long height;

    /** 重量(mg) */
    @Excel(name = "重量(mg)")
    private Long weight;

    /** 预览图 */
    @Excel(name = "预览图")
    private String skuPreviewImage;

    /** 购买链接 */
    @Excel(name = "购买链接")
    private String buyUrl;

    /** 库存类型 */
    @Excel(name = "库存类型")
    private Long stockType;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long stockQuantity;

    /** 冻结库存数量 */
    @Excel(name = "冻结库存数量")
    private Long frozenStockQuantity;

    public void setSkuId(Long skuId) 
    {
        this.skuId = skuId;
    }

    public Long getSkuId() 
    {
        return skuId;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setSpuId(Long spuId) 
    {
        this.spuId = spuId;
    }

    public Long getSpuId() 
    {
        return spuId;
    }
    public void setSkcId(Long skcId) 
    {
        this.skcId = skcId;
    }

    public Long getSkcId() 
    {
        return skcId;
    }
    public void setProductPropertyList(String productPropertyList) 
    {
        this.productPropertyList = productPropertyList;
    }

    public String getProductPropertyList() 
    {
        return productPropertyList;
    }
    public void setSupplierPrice(String supplierPrice) 
    {
        this.supplierPrice = supplierPrice;
    }

    public String getSupplierPrice() 
    {
        return supplierPrice;
    }
    public void setExtCode(String extCode) 
    {
        this.extCode = extCode;
    }

    public String getExtCode() 
    {
        return extCode;
    }
    public void setLen(String len) 
    {
        this.len = len;
    }

    public String getLen() 
    {
        return len;
    }
    public void setWidth(Long width) 
    {
        this.width = width;
    }

    public Long getWidth() 
    {
        return width;
    }
    public void setHeight(Long height) 
    {
        this.height = height;
    }

    public Long getHeight() 
    {
        return height;
    }
    public void setWeight(Long weight) 
    {
        this.weight = weight;
    }

    public Long getWeight() 
    {
        return weight;
    }
    public void setSkuPreviewImage(String skuPreviewImage) 
    {
        this.skuPreviewImage = skuPreviewImage;
    }

    public String getSkuPreviewImage() 
    {
        return skuPreviewImage;
    }
    public void setBuyUrl(String buyUrl) 
    {
        this.buyUrl = buyUrl;
    }

    public String getBuyUrl() 
    {
        return buyUrl;
    }
    public void setStockType(Long stockType) 
    {
        this.stockType = stockType;
    }

    public Long getStockType() 
    {
        return stockType;
    }
    public void setStockQuantity(Long stockQuantity) 
    {
        this.stockQuantity = stockQuantity;
    }

    public Long getStockQuantity() 
    {
        return stockQuantity;
    }
    public void setFrozenStockQuantity(Long frozenStockQuantity) 
    {
        this.frozenStockQuantity = frozenStockQuantity;
    }

    public Long getFrozenStockQuantity() 
    {
        return frozenStockQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("skuId", getSkuId())
            .append("supplierId", getSupplierId())
            .append("spuId", getSpuId())
            .append("skcId", getSkcId())
            .append("productPropertyList", getProductPropertyList())
            .append("supplierPrice", getSupplierPrice())
            .append("extCode", getExtCode())
            .append("len", getLen())
            .append("width", getWidth())
            .append("height", getHeight())
            .append("weight", getWeight())
            .append("skuPreviewImage", getSkuPreviewImage())
            .append("buyUrl", getBuyUrl())
            .append("stockType", getStockType())
            .append("stockQuantity", getStockQuantity())
            .append("frozenStockQuantity", getFrozenStockQuantity())
            .toString();
    }
}
